Chris Yang | 學習筆記

  • css
  • git
  • hash
  • latex
  • linux
  • pelican
  • research
  • retext
  • search
  • sort
  • sublime text
  • vim

[hash] rehashing

by Chris Yang
in hash on 2014-06-05

rehashing 的概念是在hash 的過程中如果遇到 collision 與 overflow

則再改用另外一種 hash function 來hash

而在此我們使用 linked list 來解決 collision 與 overflow 的問題

透過不斷的往後串即可

rehashing – JAVA

而下面的範例是加上搜尋的功能

rehashing with search – JAVA

This blog is proudly powered by Pelican, which takes great advantage of Python.

Fresh is a responsive theme designed by jsliang and contributors. Special thanks to Smashing Magazine and Twitter Bootstrap.